# 导包
import requests


# 发送请求
response = requests.get(url="http://hmshop-test.itheima.net/index.php?m=Home&c=User&a=verify&r=0.7984047805378127")

# 查看响应
print(response.status_code)
# print(response.json())
# 二进制（字节码 0 1 0 1）
print(response.content)
# 将二进制数据写入到文件
with open("../data/verify.png", "wb") as f:
    f.write(response.content)
